<?php
/**
 *	作者：耿鸿飞
 *	日期：2011年12月14日
 *	作用：
 **/
$__surl = $_SERVER["REQUEST_URI"];
$__basepath = pathinfo($__surl);
$__filename = substr($__basepath['filename'],0,strpos($__basepath['filename'],'?'));
include "../App/Class/G_db.cls.php";
include "../App/Dev/dev.define.php";
include "../App/Dev/dev.function.php";
include "../App/Include/func/global.func.php";
include "../App/Dev/dev.config.php";

if(file_exists("action/".$__filename.'.php')){
	include("action/".$__filename.'.php');
}else{
	// 接口不存在
	showErrMsg(10001,'接口不存在');
}